<?php
/**
 * Project: firework-cms             >>  http://firework-cms.googlecode.com
 * Authors: YouniS Ben Salah  (-.-)  >>  http://younishd.kegtux.org
 *          Fabien Wang       (^.^)  >>  http://fabienwang.fr
 * License: See README and LICENSE in the top level directory
 */
require_once 'core/cl_controller.php';
try
{
    $user_input = array_merge( $_GET, $_POST );
    $page = new Controller( $user_input );
    echo $page->display();
}
catch ( Exception $e )
{
    $errmsg = $e->getMessage();
    APP_CONFIG::LOG_DEBUG( 'exception', $errmsg );
    APP_CONFIG::DISPLAY_DEBUG( 'exception', $errmsg );
}
